﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExperimentEdit.aspx.cs" Inherits="无线打分网站.Manage.ExperimentEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>课程编辑</title>
    <script type="text/javascript">
        function closewindow() {
            window.close();
        }
        function GetDataAndClose() {
            var array = new Array(1);
            if (window.opener != undefined) {
                window.opener.returnValue = array;
            }
            else {
                window.returnValue = array;
            } 
            window.close();
            //closewindow();
        }
    </script>
    <base target="_self"/>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 267px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td align="right" width="50%">
                    课程名称</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="课程名称不能为空" ForeColor="#CC3300"> * 课程名称不能为空</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    教室</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" rowspan="3" width="50%">
                    上课时间</td>
                <td class="style2">
                    <asp:ListBox ID="ListBox1" runat="server" Height="69px" Width="188px">
                    </asp:ListBox>
                    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="删除选中" />
                </td>
            </tr>
            <tr>
                <td>
                    开始时间（hhmm）：<asp:TextBox ID="TextBox3" runat="server" Height="16px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    结束时间（hhmm）：<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text="添加" onclick="Button1_Click" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周一</td>
                <td>
                    <asp:CheckBox ID="CheckBox1" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周二</td>
                <td>
                    <asp:CheckBox ID="CheckBox2" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周三</td>
                <td>
                    <asp:CheckBox ID="CheckBox3" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周四</td>
                <td>
                    <asp:CheckBox ID="CheckBox4" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周五</td>
                <td>
                    <asp:CheckBox ID="CheckBox5" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周六</td>
                <td>
                    <asp:CheckBox ID="CheckBox6" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    周日</td>
                <td>
                    <asp:CheckBox ID="CheckBox7" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    <asp:Button ID="Button3" runat="server" style="margin-left: 0px" Text="确定" 
                        Width="66px" onclick="Button3_Click" />
                </td>
                <td>
                    <asp:Button ID="Button4" runat="server" Text="取消" Width="74px" 
                        onclientclick="closewindow();" CausesValidation="False" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
